//
//  GroupMemberView.h
//  AAIM
//
//  Created by awh on 2019/12/15.
//  Copyright © 2019年 AAIM. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GroupMembersLayout.h"
#import "GroupMembersCell.h"
NS_ASSUME_NONNULL_BEGIN
@protocol GroupMemberViewDelegate <NSObject>

-(void)didMembersViewWithType:(NSString*)type;

@end
@interface GroupMemberView : UIView
@property(nonatomic,strong)NSMutableArray * DataArray;
@property(nonatomic,weak)id<GroupMemberViewDelegate>delegate;
-(instancetype)initWithFrame:(CGRect)frame dataArray:(NSMutableArray*)dataArray withIsMaster:(NSString *)type;//type,1群主，0成员
-(void)setDataWithArray:(NSMutableArray*)dataArray isHiden:(BOOL)isHiden;

@end

NS_ASSUME_NONNULL_END
